<div class="row animate fadeIn">
    <div class="form-horizontal"> 
        <form id="v_form"  method="post">
    <div class="ibox-title" style="border:none;"><h5 style="color: #00afef"><i>View</i></h5>
      <?php foreach($list_data AS $list) { ?>
     </div>
     <div class="ibox-content">
            <div class="form-group">
                <label class="col-lg-2 control-label">List Name</label>
                <div class="col-lg-5">
                    <input type="text" id="" class="form-control" name="" value="<?php echo $list->list_name; ?>" readonly>
                </div>
             </div>
             <div class="form-group">
                <label class="col-lg-2 control-label">Description</label>
                <div class="col-lg-5">
                    <input type="text" id=""class="form-control" name="" value="<?php echo $list->description; ?>" readonly>
                </div>
            </div>
            <?php } ?>
        </form>
    </div>
    </div>
    <!-- row for sequence add -->
    <div id="">
      <div id="" class="ibox-content">
        <h3 style="color: #00afef">Sequence List</h3>
                  <table id="pgTable"class="table table-bordered" style="width:80%;">
                    <thead>
                      <tr>
                        <th style="width:100px;">Sequence</th>
                        <th style="width:170px;">Charge</th>
                        <th>Option</th>
                        <th style="width:70px;">Value</th>
                      </tr>
                      
                    </thead>
                    <tbody id="" class="animate fadeIn">
                      <?php foreach ($list_seq_data as $seq_data) { ?>
                           <tr>
                              <td style="text-align:right;"><?php echo $seq_data->seq_num; ?></td>
                              <td style="text-align:left;" ><?php echo $seq_data->charge_name; ?></td>
                              <td style="text-align:left;" ><?php echo $seq_data->option_name; ?></td>
                              <td style="text-align:right;"><?php echo $seq_data->option_value; ?></td>
                           </tr> 
                      <?php } ?>                             
                    </tbody>
                  </table> 
      </div>
    </div>
    <!-- end for row sequence -->
 </div>
 <script>

 $(document).ready(function(){
  $('#viewX').click(function(){
           close_view();
        });
 });

 </script>